home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmStringSegmentCreate.z / XmStringSegmentCreate
Encoding:
Text File  |  2003-11-18  |  2.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmSSSSttttrrrriiiinnnnggggSSSSeeeeggggmmmmeeeennnnttttCCCCrrrreeeeaaaatttteeee((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSttttrrrriiiinnnnggggSSSSeeeeggggmmmmeeeennnnttttCCCCrrrreeeeaaaatttteeee((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_S_t_r_i_n_g_S_e_g_m_e_n_t_C_r_e_a_t_e    - A compound string function that
  10.       creates a compound string
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/Xm.h>
  14.  
  15.       XmString XmStringSegmentCreate (tttteeeexxxxtttt,,,,    ttttaaaagggg,,,, ddddiiiirrrreeeeccccttttiiiioooonnnn,,,,    sssseeeeppppaaaarrrraaaattttoooorrrr)
  16.            _c_h_a_r       **** tttteeeexxxxtttt;
  17.            _c_h_a_r       *ttttaaaagggg;
  18.            _X_m_S_t_r_i_n_g_D_i_r_e_c_t_i_o_nddddiiiirrrreeeeccccttttiiiioooonnnn;
  19.            _B_o_o_l_e_a_n       sssseeeeppppaaaarrrraaaattttoooorrrr;
  20.  
  21.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.       _X_m_S_t_r_i_n_g_S_e_g_m_e_n_t_C_r_e_a_t_e    is a high-level    function that
  23.       assembles a compound string consisting of a font list
  24.       element tag, a direction component, a    text component,    and an
  25.       optional separator component.
  26.  
  27.       tttteeeexxxxtttt Specifies a null-terminated string to be    used as    the
  28.            text component of the compound string.
  29.  
  30.       ttttaaaagggg  Specifies the font list element tag to be associated
  31.            with the    text.  The value _X_m_F_O_N_T_L_I_S_T__D_E_F_A_U_L_T__T_A_G
  32.            identifies a locale text    segment.
  33.  
  34.       ddddiiiirrrreeeeccccttttiiiioooonnnn
  35.            Specifies the direction of the text.
  36.  
  37.       sssseeeeppppaaaarrrraaaattttoooorrrr
  38.            Specifies separator addition.  If False,    the compound
  39.            string does not have a separator    at the end.  If    True,
  40.            a separator immediately follows the text    component.
  41.  
  42.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  43.       Returns a new    compound string.
  44.  
  45.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  46.       _X_m_S_t_r_i_n_g_C_r_e_a_t_e(_3_X).
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.